package com.cn.wanxi.service;

import com.cn.wanxi.model.NewsModel;
import com.cn.wanxi.model.PageModel;
import com.cn.wanxi.model.ResultModel;

import java.util.List;

public interface INewsService {
    ResultModel add(NewsModel newsModel);

    ResultModel findAll(NewsModel newsModel, PageModel pageModel);

    List<NewsModel> getList();
}
